package com.str.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: ZhangWu, Anything is possible!
 * @CreateTime: 2023/04/13 21:44
 * @Description: 删除对应角色的用户请求dto
 */
@Data
@ApiModel("删除对应角色的用户请求dto")
public class DeleteRoleUserDto {

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    @NotNull(message = "角色id不能为空")
    private String roleId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private String userId;
}
